home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Commodities
/
DiskExec
/
DiskExec.DOC
< prev
next >
Wrap
Text File
|
1996-09-26
|
11KB
|
219 lines
DiskExec V1.20
--------------
Written By: Yanik Grignon Technical Writer: Scott Pinard
---------- 10848 Jean-Masse ---------------- 5522 Eadie
Montreal, Quebec Montreal, Quebec
Canada. H4J 1S1 Canada. H4E 3S6
grignony@jsp.umontreal.ca rslayer@info.polymtl.ca
FidoNet: 1:167/207.0 FidoNet: 1:167/207.0
AmigaNet: 40:600/207 AmigaNet: 40:600/207
IRC Nick: RSlayer IRC Nick: TritN
LICENSE:
-------
This Program is PostCard-Ware and we ask that anyone who finds this
program usefull, and uses it on a regular basis to please send the Requested
Nominal fee of 1 Postcard of your City. (of course 68040 Accelerator would
be nice) :) Considering the Hard work that went into this Program to keep its
sized down to a minimum, and insure it be Bug free before its release, we are
not asking very much. Also to encourage the Programer to Continue Working on
Great programs for all to enjoy. We are thinking of working on a Much more
Configurable Version that will not be Limited to just Disk Inserts and
Removes. We hope to support Window Opens/Closes, Double Clicks,etc..)
Please send your PostCards to Yanik Grignon or Scott Pinard at the Adresses
Above.
Note: Please Indicate any comment or Bugs (Yeah Right!) on the Postcard as
well as the Setup your using DiskExec on. Thank you for your Support.
DISTRIBUTION OF DISKEXEC:
------------------------
You can freely distribute DiskExec as long as the Following is
Observed:
- The program and documentation must be distributed together and
not modified in any way. The only exception is that the program and
documentation may be compressed into an archive for uploading to
Bulletin Boards or for other electronic transmission.
- The program is not to be included in a commercial package for profit
unless written authorisation from Yanik Grignon is obtained first. This
version of DiskExec may be freely included on public domain library disks
or compilation disks provided only a small fee is charged for the service.
CONTENTS OF ARCHIVE:
-------------------
- DiskExec - The Commodity Program.
- DiskExec_Reg.info - The Icon for DiskExec for Regular WBs \_ Contain the
- DiskExec_MWB.info - The Icon for DiskExec For MagicWB WBs / Datatypes.
- DiskExec.doc - The File your Currently reading :)
- DiskExec.doc.info - The Icon For the Docs.
- Changes.txt - List of Changes in Version 1.20
- Changes.txt.info - Icon For Changes.txt
- pho.displayme - Advertisement for our BBS in Montreal,Que. Canada
ABOUT DISKEXEC:
--------------
DiskExec is a program (Actually a Commodity) that is a little bit hard
to describe. It all started when I asked my friend Yanik Grignon to make
me a program to replace this old sharware Program I had lost called
"DiskTalk" which would play Sound Samples when a Disk was Inserted and
Removed. After a Long Discussion we decided we could make the Program Much
better than that. We decided it would not be limited to sound samples.
Actually what the program does is Executes literaly anything when a disk is
inserted or removed. Actualy any two things as the Program treats each task
(Insert,Remove) seperatly,hence one executed task for insert, another for
remove. I will discuss applications of the program later on in the manual.
DISKEXEC'S SYSTEM REQUIREMENTS:
------------------------------
As DiskExec is a Commodity, it requires OS2.04 or later. If you require
a version of DiskExec for Workbench 1.3 or earlier, Send us Mail
(Electronic or snail) at the Address at the begining of this Doc. Of course
the OS1.3 version is a Command Line (CLI) version only.
Although a HardDrive is not a Neccessity (due to DiskExec's size) it
will make the Program a lot more usefull and Quicker.
DiskExec has been tested on several Systems ECS, and AGA to ensure
compatibitly. I Personaly have tested it on an A500,A2000HD (Accelerated
and Not), and an A1200HD. It works like a charm on all of em.
APPLICATIONS FOR DISKEXEC:
-------------------------
This is a Really hard section to write as the Posibilities are truely
Endless. But I Will List a few of the More Common Ones People would want to
use this Program for..
As I said earlier, DiskExec Will Literaly run anything when it detects
a Disk Insert/remove because Yanik programed it to Actually execute a
Command line. So Anything that can Be Executed, be it Program, Script,
etc.. will work with DiskExec. Simply place your Command line in the
Tooltypes to have DiskExec execute them. Now for some Examples:
1) Sound Samples: This is What I use DiskExec for. All you need to make
DiskExec to Play sound Samples is a Sample Player (SMPlay included in the
SoundMachine Package or Play8SVX included in ReqTools Package are good
ones) and Sound Samples. Here is my Tooltypes List for Playing Sound
Samples:
INSERTED=Play8SVX dh0:s/DE_IN.iff
REMOVED=Play8SVX dh0:s/DE_Out.iff
^^Player ^^Path and Sample
In Other Words you place the actual command line as if you were going to
run it in a Shell Manualy, so DE knows and can do this Automaticly.
2) Load a Picture: Someone pointed out to us that it would be funny to have
your System display Some kind of Picture With a "Thank you for Inserting a
Disk" or "a Disk has been Inserted" text in it. If you wish to do this too,
all you'll need is a Picture Viewer and Pictures. A neat way of Customizing
your WorkBench.
3) Loging Disk Activity: This is very usefull for Networked Amigas as well
as Normal Users. For a Network of Amigas Disk Exec can keep track of Every
Disk Put into the Network by Using DiskExec to Log all Disks (and there
Names, or Content if you wish) being inserted into the Computers of your
Network. This is Very good for Ensuring no one is Bringing and Playing
games and/or Copying (c)opyright Software on your Network. The reasons for
loging disks are Numerous. For the Regular user, you can use this Loging of
Disks by DiskExec to Track Down that Elusive Virus that keeps Plaguing your
Amiga.. When you load your Computer, And have DiskExec configured for
Loging Disks, Every disk you insert will be loged and when a Virus is
Detected on your System you need only look in your log file for the disks
you inserted. One of these Disks is the Infected one..
4) Executing a Script: This I leave up to the User to Imagine. It can be
used to aid the Log Disk Process (ie. you can have a Script that logs the
Disk Name, Content, time of day, and date) thus when a Disk is inserted the
Script will be run, thus loging all the info you require of that Disk.
Other Uses are left to the Imagination of the User.
If you Find any other Usefull uses of DiskExec Please let Us know so
we can include it in the Next Version. Share the Wealth as they Say.
HOW TO USE DISKEXEC:
-------------------
DiskExec is Extremly easy to use as it is a Commodity. First Choose the icon
you want to Use (Regular or MagicWB) and ReName it Simply: DiskExec.info
and delete the other one then Drag the Icon into your WBStartup Drawer, Set
the ToolTypes, and Run it (or Reboot). To Kill it, simply Run it a second
time or use Exchange.
SETTING THE TOOLTYPES:
---------------------
To configure the Tooltypes Simply Click Once on DiskExec's Icon and
Select Information in the ICONS menu of WorkBench. Please Remove the (,)'s
that surround the tooltype to be able to use them.
CX_PRIORITY=0 : This Tooltype allows you to set the Priority of the
Commodity which if set to a higher value will give
DiskExec Priority over other Commodities.
INSERTED=<command> : This is where you put your Command line for a Disk
Being Inserted. Simply delete the "<command>" and
place your own command line right after the = (no
space after the "=")
REMOVED=<command> : This is where you put your Command line for a disk
being Removed. Simply delete the "<command>" and
place your own command line right after the = (No
space after the "=")
ONCE=<TRUE|FALSE> : This is the New Feature. Due to the OS treating each
DOSDrivers as a seperate insert it makes DiskExec
execute run your setting once for each Disk insert/
remove (Annoying) Anyone with PCx: or DSx: Drivers
set this to TRUE (Default). If you want DiskExec to
continue to execute each command 2-3 times put it at
False. Simply delete the "<TRUE|FALSE>" and put either
TRUE or FALSE in its place right after the = (No
space after the "=")
HISTORY:
-------
DiskExec has been changed Dramaticly since its First Beta Release. For One
thing. It was Originaly Programed in E. This was for two Reasons. 1) He was
programming in E when I asked him about my Idea and 2) as a Test to see if
he could do it in E. The Original CLI Version (in E) worked very well but
We wanted to make it a Commodity. After weeks of trying to get the program
to to read information out of the tooltypes, Yanik gave up on E and rewrote
DiskExec in C. After Switching to C, the Commodity version emerged rather
quickly.
***Programers Note: If anyone knows how to get an E Program to read
its Info from the Icon ToolTypes, I am Still interested in finding
out to further my knowledge of E and for Future Projects..***
Version #'s: Comment:
----------- -------
0.10 Original CLI Version (written in E - Never Released)
Several #'s Several Attempts at Commodity Version in E (Never Worked)
0.90 First Beta Release of Commodity (Re-Written in C)
1.00 First Official Release of DiskExec (Commodity Version)
1.10 Yes We actually Found a Bug.. If you tried to Run Disk
Exec without any Parameters, Nothing Happened. It Was
Supposed to use the Sound Prefs of WB to either Make
a Beep or ScreenFlash,etc.. Also we Made the Program
even Smaller, Now 4k.. Yeah!! See Changes.txt for full
list of Changes..
1.20 We removed the Sound Prefs feature added in 1.10 as it
didn't seem to work on any other computer besides the
programmers (and even then it stoped working after a
few days, Weird) Added the ONCE=<TRUE|FALSE> tooltype
to solve a Problem that occurs due to the Way the
Amiga handles DOS Drivers like PCx: and DSx: (see
setting the Tooltypes for info)
------------------------------------------------------------------
\/\/\/\/\/\/\/\/\/\/\/\/\/\/ THE END /\/\/\/\/\/\/\/\/\/\/\/\/\/\/
------------------------------------------------------------------